package com.itheima.user.services;


import com.itheima.user.dto.CreateUserDto;
import com.itheima.user.dto.LoginDTO;
import com.itheima.user.dto.UpdateUserDto;
import com.itheima.user.dto.UserQueryDto;
import com.itheima.user.entity.UserEntity;
import com.itheima.user.vo.LoginVO;
import com.itheima.user.vo.UserVo;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 用户表 服务层。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
public interface IUserService extends IService<UserEntity> {
    int createUser(CreateUserDto createUserDTO);
    LoginVO login(LoginDTO loginDTO);
    void updateUser(UpdateUserDto updateUserDto);
    void deleteUser(Long id);
    Page<UserVo> pageList(UserQueryDto userQueryDto);
}